package com.base.test.rabbitmq.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix ="spring.rabbitmq.publisher")
public class PublisherProperties {

    //是否开启生产发送重试
    private boolean retryEnable;

    //生产者重试次数
    private Integer retryCount;

    //每次重试时间间隔
    private Integer initialInterval;
}
